import request from '@/utils/request'

// 查询业绩考核-个人填报-处理学生突发事件列表
export function listKpiFillingStuEmergency(query) {
  return request({
    url: '/teacher/kpiFillingStuEmergency/list',
    method: 'get',
    params: query
  })
}

// 查询业绩考核-个人填报-处理学生突发事件详细
export function getKpiFillingStuEmergency(id) {
  return request({
    url: '/teacher/kpiFillingStuEmergency/' + id,
    method: 'get'
  })
}

// 新增业绩考核-个人填报-处理学生突发事件
export function addKpiFillingStuEmergency(data) {
  return request({
    url: '/teacher/kpiFillingStuEmergency/add',
    method: 'post',
    data: data
  })
}

// 修改业绩考核-个人填报-处理学生突发事件
export function updateKpiFillingStuEmergency(data) {
  return request({
    url: '/teacher/kpiFillingStuEmergency/update',
    method: 'post',
    data: data
  })
}

// 删除业绩考核-个人填报-处理学生突发事件
export function delKpiFillingStuEmergency(id) {
  return request({
    url: '/teacher/kpiFillingStuEmergency/' + id,
    method: 'post'
  })
}
